package com.alibaba.dubbo.demo;

import java.util.List;

import com.alibaba.dubbo.demo.bean.PageBean;
import com.alibaba.dubbo.demo.bean.SysBackuplog;
public interface SysBackuplogInterface {

	/**
	 * 保存备份日志
	 */
	public boolean saveBackupLog(SysBackuplog log);	
	
	/**
	 * 更新备份日志
	 */
	public boolean updateBackupLog(SysBackuplog log);
	/**
	 * 删除备份日志
	 * date:删除date之前的日志
	 */
	public boolean deleteBackupLog(SysBackuplog log,String date);
	
	/**
	 * 获取备份日志
	 */
	public PageBean queryAllBackupLog(PageBean pageBean,String startdate,String enddate);
	public List<SysBackuplog> queryAllBackupLogList(String startdate,String enddate);
	public SysBackuplog queryOneBackupLog(int id);
}
